package com.cn.jdia.tas.service;

import java.util.List;
import java.util.Map;

import com.cn.jdia.tas.model.T_attrecord;

public interface IAttrecordService {
	
	public List<T_attrecord> getAttrecordsByDate(String start,String end);
	
	public List<T_attrecord> getAttrecordsByDate2(String start,String end);
	
	public List<T_attrecord> getDetailAttrecords(String id,String start,String end);
	
	public List<T_attrecord> getDeptAttrecords(String deptid,String date);
	
	public List<T_attrecord> getInterestAttrecords(String date,List<String> interestList);
	
	public int getCheckedCountByDay(String date);
	
	public int getLateCount(String date);
	
	public int getMaxRecordId();
	
	public int addSelective(T_attrecord record);
	
	public List<T_attrecord> getGroupRecord(String date,List<String> groupList);
	
	public List<T_attrecord> getParentDeptRcd(String deptid, String date);
	
	public List<Map<String,Object>> querydLevel2DeptCount(String deptid, String date);
	
	public List<Map<String,Object>> getFullLevel2DeptCount(String deptid, String date);
	
	public List<T_attrecord> getFullDeptRcd(String deptid,String date);
	
	public List<T_attrecord> getParentDeptLateRecord(String date,String deptid);
	
	public List<T_attrecord> getChildDeptLateRecord(String date,String deptid);
	
	public int getParentOutcheckMemberCount(String date,String deptid);
	
	public List<T_attrecord>  getParentOutcheckRecord(String date,String deptid);
	
	//导出部门excel用，含专业线的总部门
	public List<T_attrecord> getParentDepetMutilRecords(String deptid,String start,String end);
	
	//导出部门excel用，不含专业线的部门
	public List<T_attrecord> getChildDepetMutilRecords(String deptid,String start,String end);
	
	
	
}
